GtkSettings: Fix theme not updating for dark theme
authorBastien Nocera <hadess@hadess.net>
Mon, 31 Jan 2011 00:28:46 +0000 (00:28 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 31 Jan 2011 01:48:29 +0000 (20:48 -0500)
The theme was not updated when the "gtk-application-prefer-dark-theme"
GtkSettings property changed.

https://bugzilla.gnome.org/show_bug.cgi?id=640983

gtk/gtksettings.c

index 50c00be2d5ca23c9a0f194f6f769064c284d3264..5008f09097c905157dcc9d6347cc12fbb38e599f 100644 (file)
@@ -1608,6 +1608,7 @@ gtk_settings_notify (GObject    *object,
       settings_update_color_scheme (settings);
       gtk_style_context_reset_widgets (priv->screen);
       break;
+    case PROP_APPLICATION_PREFER_DARK_THEME:
     case PROP_THEME_NAME:
       settings_update_theme (settings);
       break;